package com.gipson.amc.config.security;

import com.gipson.amc.utils.security.ShiroUtils;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;

public class ShiroTag {

    public boolean hasPermission(String permission) {
        return ShiroUtils.hasPermission(permission);
    }

    public boolean hasRole(String role) {
        return ShiroUtils.hasRole(role);
    }
}
